package com.chuangsi.project.system.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chuangsi.project.system.domain.SysOutRequest;
import com.chuangsi.project.system.mapper.SysOutRequestMapper;
import com.chuangsi.project.system.service.ISysOutRequestService;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;

/**
 * <p>
 * 系统对外请求表 服务实现类
 * </p>
 *
 * @author ywb
 * @since 2024-07-26
 */
@Service
public class SysOutRequestServiceImpl extends ServiceImpl<SysOutRequestMapper, SysOutRequest> implements ISysOutRequestService {

    @Override
    public void saveOutRequest(SysOutRequest sysOutRequest) {
        sysOutRequest.setCreateTime(LocalDateTime.now());
        sysOutRequest.insert();
    }
}
